<extend name="Public/base"/>

<block name="body">
	<div class="am-cf am-u-md-12 header-title">
		<h2>用户扩展分类</h2>
	</div>

	<div class="am-cf am-g am-margin-top">
		<div class="am-u-md-6">
			<div class="am-fl am-btn-group">
				<a class="am-btn am-btn-primary" href="{:U('addextend')}">新 增</a>
			</div>
		</div>
	</div>

    <!-- 数据列表 -->
    <div class="am-cf am-u-md-12 am-margin-top">
	<table class="am-table am-table-striped">
	    <thead>
	        <tr>
				<th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
				<th class="">ID</th>
				<th class="">分类名称</th>
				<th class="">状态</th>
				<th class="">操作</th>
			</tr>
	    </thead>
	    <tbody>
	    	<volist name="list" id="item">
	    	<tr>
	    		<td><input class="ids" type="checkbox" name="id[]" value="{$item.uid}" /></td>
	    		<td>{$item['id']}</td>
	    		<td>{$item['profile_name']}</td>
	    		<td>{$item['status']}</td>
	    		<td>
	    			<a href="{:U('User/extendfield',array('id'=>$item['id']))}">字段</a>
	    			<a href="{:U('User/editextend',array('id'=>$item['id']))}">编辑</a>
	    			<a href="{:U('User/delextend',array('id'=>$item['id']))}">删除</a>
	    		</td>
	    	</tr>
	    	</volist>
	    </tbody>
    </table>
    </div>
</block>

<block name="script">
</block>